package tomcat.connector.facade;

import tomcat.connector.DynamicResponse;
import tomcat.connector.ServletResponse;

import java.io.IOException;
import java.io.PrintWriter;

/**
 * ServletRequest 对应接口  都被 request 实现过
 * 使用 ResponseFacade 不能调用不属于 ServletRequest 接口方法
 */
public class ResponseFacade implements ServletResponse {
    private ServletResponse response = null;

    public ResponseFacade(DynamicResponse response) {
        this.response = response;
    }


    @Override
    public PrintWriter getWriter() throws IOException {
        return null;
    }
}
